﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace TarreOA.TarreOAModels {
    public class Flow_NewFlowStep {
        private int newFlowStep_id;
        private Flow_NewFlow base_newFlow;
        private int sort_id;
        private string prc_name;
        private string prc_users;
        private string prc_inputs;
        private string prc_sections;
        private string prc_roles;
        private string nextPrc_id;
        private string base_newflow_name;//所属流程的名称
        private Hashtable htUser;//所有经办人员的登录名和用户名键值对
        private Hashtable htNextStep;//所有下一可选步骤的序号名称键值对
        private int base_newflow_id;

        /// <summary>
        /// 获取或设置步骤所属流程的编号
        /// </summary>
        public int Base_newflow_id {
            get { return base_newflow_id; }
            set { base_newflow_id = value; }
        }

        /// <summary>
        /// 获取或设置所有下一可选步骤的序号和名称键值对
        /// </summary>
        public Hashtable HtNextStep {
            get { return htNextStep; }
            set { htNextStep = value; }
        }

        /// <summary>
        /// 获取或设置所有经办人员的登录名和用户名键值对
        /// </summary>
        public Hashtable HtUser {
            get { return htUser; }
            set { htUser = value; }
        }

        /// <summary>
        /// 获取或设置该步骤所属流程的名称
        /// </summary>
        public string Base_newflow_name {
            get { return base_newflow_name; }
            set { base_newflow_name = value; }
        }

        /// <summary>
        /// 获取或设置该步骤的下一个步骤的排序编号，多个编号用逗号分隔，默认为空字符串，表示自动搜索下一步骤
        /// </summary>
        public string NextPrc_id {
            get { return nextPrc_id; }
            set { nextPrc_id = value; }
        }

        /// <summary>
        /// 获取或设置该流程步骤的经办角色，多个角色编号用逗号分隔，可以为空
        /// </summary>
        public string Prc_roles {
            get { return prc_roles; }
            set { prc_roles = value; }
        }

        /// <summary>
        /// 获取或设置该流程步骤的经办部门，多个部门编号用逗号分隔，可以为空
        /// </summary>
        public string Prc_sections {
            get { return prc_sections; }
            set { prc_sections = value; }
        }

        /// <summary>
        /// 获取或设置所属流程的表单到该步骤可写的字段，字段名称用逗号分隔，可以为空
        /// </summary>
        public string Prc_inputs {
            get { return prc_inputs; }
            set { prc_inputs = value; }
        }

        /// <summary>
        /// 获取或设置该流程步骤的经办人员，多个人员登录名用逗号分隔，可以为空
        /// </summary>
        public string Prc_users {
            get { return prc_users; }
            set { prc_users = value; }
        }

        /// <summary>
        /// 获取或设置该流程步骤的名称
        /// </summary>
        public string Prc_name {
            get { return prc_name; }
            set { prc_name = value; }
        }

        /// <summary>
        /// 获取或设置该流程步骤从1开始的排序号，以便判断该步骤什么时候被执行
        /// </summary>
        public int Sort_id {
            get { return sort_id; }
            set { sort_id = value; }
        }

        /// <summary>
        /// 获取或设置该流程步骤所属的流程信息(class:Flow_NewFlow)
        /// </summary>
        public Flow_NewFlow Base_newFlow {
            get { return base_newFlow; }
            set { base_newFlow = value; }
        }

        /// <summary>
        /// 获取或设置新建流程步骤编号
        /// </summary>
        public int NewFlowStep_id {
            get { return newFlowStep_id; }
            set { newFlowStep_id = value; }
        }
    }
}
